﻿<UserControl x:Class="Mengsk.ProxyDelivery.App.UI.Config.WeightDeviceUserControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300" Loaded="UserControl_Loaded">

    <Grid Width="300" HorizontalAlignment="Left">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>

        <TextBlock Grid.Row="0" Grid.Column="0" Text="设备类型:" Margin="3" VerticalAlignment="Center" />
        <ComboBox Grid.Row="0" Grid.Column="1" Name="cbbDeviceTypes" DisplayMemberPath="Name" SelectionChanged="cbbDeviceTypes_SelectionChanged"/>
        <DockPanel Grid.Row="1" Grid.ColumnSpan="2" Name="dpHostDeviceConfigs"></DockPanel>
        <Button Grid.Row="2" Grid.Column="1" Content="保存" Name="btnDeviceSave" Click="btnDeviceSave_Click" Width="80" Margin="3"/>
    </Grid>
</UserControl>
